@import './index';

@menu-wrap-prefix-cls: ~"@{coms-prefix}-menu-wrap";
.@{menu-wrap-prefix-cls} {
    height: 100%;
    .wea-right-menu-wrap{
        height: e("-moz-calc(100% - 58px)");
        height: e("-webkit-calc(100% - 58px)");
        height: e("calc(100% - 58px)");
    }
    .@{menu-wrap-prefix-cls}-row {
        border-top: 1px solid #e7e7e7;
        position: absolute;
        bottom: 0px;
        width: 100%;
        &>div {
            padding: 15px;
            text-align: right;
            button {
                margin-left: 10px;
                .@{menu-wrap-prefix-cls}-btn-icon,
                 {
                    font-size: 12px;
                    padding-right: 5px;
                }
            }
        }
        
    }
    
    .@{menu-wrap-prefix-cls}-drop-wrap {
        min-width: 120px;
        max-width: 200px;
        background-color: #fff;
        border: 1px solid #eaeaea;
        box-shadow: 0 0 5px #ddd;
        min-width: 120px;
        .@{menu-wrap-prefix-cls}-drop-menu{
            background: transparent;
            box-shadow: none;
        }
        .mode-dropdown-menu-item {
            height: 30px;
            line-height: 30px;
            padding: 0 8px 0 0;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            .@{menu-wrap-prefix-cls}-drop-icon {
                display: inline-block;
                width: 36px;
                margin-right: 6px;
                text-align: center;
            }
        }
        .mode-dropdown-menu-item.mode-dropdown-menu-item-active {
            background-color: #57c5f7;
            color: #fff;
        }
    }
    .@{menu-wrap-prefix-cls}-drop-icon-bg {
        width: 36px;
        height: 100%;
        background-color: #f2f5f7;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }
}